package com.xyd.entity;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private Integer userId;
    private String userName;
    private String passWord;
    private String salary;
    private double comm;
    private String hireDate;

    public User(String userName, String passWord) {
        this.userName = userName;
        this.passWord = passWord;
    }
}
